﻿using System;


namespace HAVNet.Intros.AST
{
    public class ASTEmbStmtFixed : ASTEmbStmt
    {
        public ASTType      type        { get; set; }
        public ASTStatement statement   { get; set; }
        public readonly ASTIdentExprPairs identExprPairs = new ASTIdentExprPairs();

        public override string ToString ()
        {
            return
                "fixed (" + type + " " + identExprPairs +  ")" + Environment.NewLine +
                statement;
        }
    }
}
